/***** Global - General *****/
html {
    height: 100% !important;
}
body {
    background: #FBFAF4 !important;
    font-family: Verdana,sans-serif;
    padding: 0 15px 5px 15px !important;
    border: 5px solid #404D6C;
    border-left: 20px solid #404D6C;
    min-height: 100% !important;
}

/***** Global - Links *****/
a:link {
    text-decoration: none;
    color: #404DA4;
}
a:hover {
    text-decoration: none;
    border-bottom: 1px dashed #666666;
}
a:visited {
    color: #6A7692;
    text-decoration: none;
}

/* people are green! */
.vcard a {
    font-variant: small-caps;
    color: #408E4C;
}
#assigned_to,
#qa_contact,
#newcc {
    color: #408E4C;
}

/* links that are just anchors or JS */
a[href="#"],
a[href="#add_comment"],
.bz_first_comment_head i a[name="c0"] {
    font-size: 12px;
    color: #666666;
    text-decoration: none;
}

/***** Global - Header *****/
#mozilla-org {
    display: none;
}

#header {
    margin: 0 310px 0 215px;
    padding: 0;
    height: 35px;
}

#titles {
    display: none;
}

#header .links .form form {
    border: 1px solid #404D6C;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    background-color: #FFFFFF;
    font-size: 13px;
    display: block;
}
#header .links .form input {
    border: none;
    background-color: #FFFFFF;
    margin: 2px;
    padding: 0;
}
#header .links .form .btn {
    font-family: Georgia,Times,serif;
    font-weight: bold;
    color: #404D6C;
    padding-left: 2px;
    letter-spacing: 0.6px;
    border-left: 1px solid #404D6C;
    text-transform: lowercase;
}
#quicksearch_top {
    width: 125px;
}

#header .links {
    border: none;
    margin: 0;
    padding: 0;
    
}

#header .links li .separator {
    display: none;
}
#header .links li {
    font-size: 0;
    color: #FBFAF4;
}
#header .links li a {
    display: block;
    font-size: 13px;
    text-transform: lowercase;
    float: left;
    letter-spacing: .7px;
    color: #000000;
    text-decoration: none;
    padding: 6px 10px;
    font-family: Georgia,Times,serif;
    -moz-border-radius-bottomleft: 6px;
    -moz-border-radius-bottomright: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    border-top: 2px solid #FBFAF4;
}
#header .links li a:hover {
    text-decoration: underline;
    background-color: #6a7692;
    color: #FFFFFF;
    border-top: 2px solid #404D6C;
    border-bottom: none;
}
#header .links li.form {
    position: absolute;
    top: 11px;
    right: 150px;
    font-size: 12px;
}

#header .links li:first-child {
    position: absolute;
    top: 0;
    left: 0;
}
#header .links li:first-child a {
    background: #404D6C url('%3D') no-repeat scroll 3px 3px;
    -moz-border-radius-bottomright: 6px;
    -webkit-border-bottom-right-radius: 6px;
    font-size: 0;
    padding: 0;
    border: none;
    width: 235px;
    height: 38px;
}
#header .links li:first-child a:hover {
    background-color: #404D6C;
    text-decoration: none;
    border: none;
}
body.bz_status_RESOLVED #header .links li:first-child a,
body.bz_status_VERIFIED #header .links li:first-child a {
    background-image: url('%3D');
}

/***** Global - Saved Searches *****/
#links-saved {
    position: absolute;
    right: 0;
    top: 0;
    margin: 5px 15px 0 0;
    max-width: 40%;
}
#links-saved .label {
    display: block;
    color: #404D6C;
    font-family: Georgia,Times,serif;
    letter-spacing: .7px;
    text-transform: lowercase;
    font-size: 14px;
    text-align: right;
    padding: 6px 5px 4px 0;
    cursor: default;
    border-top: 2px solid #FBFAF4;
}
#links-saved .links li .separator {
    display: none;
}
#links-saved .links li {
    padding-right: 10px;
}
#links-saved .links li a {
    border-bottom: 1px dashed #CCCCCC;
    color: #666666;
    text-decoration: none;
}
#links-saved .links li a:hover {
    border-color: #404D6C;
}
#links-saved .links {
    display: none;
    background-color: #EEEEEE;
    padding: 10px;
    -moz-border-radius-bottomleft: 6px;
    -moz-border-radius-bottomright: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    border: 1px solid #6A7692;
    border-top: none;
}
#links-saved:hover .label {
    background-color: #6A7692;
    color: #FFFFFF;
    border-top: 2px solid #404D6C;
}
#links-saved:hover .links {
    display: block;
}

/***** Global - Body *****/
#bugzilla-body {
    clear: both;
}



/***** Global - Footer *****/
/* can't hide entire footer because of saved searches */
#footer .intro,
#footer .outro,
#footer #links-actions {
    display: none;
}
#footer #useful-links,
#footer #links-special,
#footer #links-special .links,
#footer #links-special .links li form,
#footer #links-special .links li {
    display: block;
    text-align: right;
}
#footer {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}


/******************************************************************************/

#bugzilla-body input,
#bugzilla-body textarea,
#bugzilla-body select {
    border: 1px solid #CCCCCC;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    background: #FFFFFF url('%3D') repeat-x;
}
#bugzilla-body input:focus,
#bugzilla-body textarea:focus,
#bugzilla-body select:focus {
    border-color: #000000;
    background: #FFFFFF;
}
#bugzilla-body select {
    padding: 1px;
}
#bugzilla-body textarea {
    background: #FFFFFF url('') repeat-x;
}
#cc,
#bugzilla-body select[multiple="multiple"] {
    background: #FFFFFF url('%3D') repeat-x;
}

#bugzilla-body .knob-buttons input,
#Search_top,
#Search,
#search,
#commit,
#update,
#create {
    font-family: Georgia,Times,serif;
    text-transform: lowercase;
    letter-spacing: 0.6px;
    font-weight: bold;
    color: #6A7692;
    border: 1px solid #6A7692;
    padding: 4px 10px;
    background: #FFFFFF;
}
#bugzilla-body .knob-buttons input:hover,
#Search_top:hover,
#Search:hover,
#search:hover,
#commit:hover,
#update:hover,
#create:hover {
    background: #6A7692;
    color: #FFFFFF;
    border: 1px dashed #FFFFFF;
}

#bugzilla-body fieldset {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

/* tabs! */

#bugzilla-body .tabs td {
    background-color: #FBFAF4;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-topright: 15px;
    -webkit-border-top-left-radius: 15px;
    -webkit-border-top-right-radius: 15px;
    border-color: #404D6C;
}
#bugzilla-body .tabs td.clickable_area {
    background-color: #E0E0E0;
}
#bugzilla-body .tabs td,
#bugzilla-body .tabs td a {
    color: #404D6C;
    text-transform: lowercase;
    font-family: Georgia,Times,serif;
    letter-spacing: 0.7px;
}
#bugzilla-body .tabs .selected {
    font-weight: bold;
}

/* most of this is for search and advanced search, which are poorly classed and
   don't have their own stylesheets */
#bugzilla-body .tabbody table th,
#bugzilla-body #Create table th,
#bugzilla-body fieldset legend,
#bugzilla-body fieldset legend strong,
#bugzilla-body fieldset dt,
#bugzilla-body a[name="chart"],
#bugzilla-body label[for="bug_status"],
#bugzilla-body label[for="product"],
#bugzilla-body label[for="content"] {
    font-family: Georgia,Times,serif;
    text-transform: lowercase;
}
#bugzilla-body .tabbody table th a,
#bugzilla-body #Create table th a{
    color: #000000;
    text-decoration: none;
    border-bottom: 1px dashed #CCCCCC;
}
#bugzilla-body .tabbody table th a:hover,
#bugzilla-body #Create table th a:hover {
    border-color: #000000;
}

/* bug list navigation */
.navigation,
.related_actions {
    text-transform: lowercase;
    font-family: Georgia,Times,serif;
    font-size: 13px;
}

/* bug number */
.bz_alias_short_desc_container a {
    font-family: Georgia,Times,serif;
    color: #000000;
    text-transform: lowercase;
    font-size: 24px;
    letter-spacing: 2px;
    text-decoration: none;
}
#summary_alias_container {
    font-weight: normal;
    color: #333333;
    font-size: 12px;
}
#short_desc_nonedit_display {
    font-family: Georgia,Times,serif;
    color: #333333;
    font-size: 18px;
    font-weight: bold;
}
#alias_nonedit_display {
    font-weight: normal;
}
.last_comment_link a {
    font-size: 14px;
}
.editme,
.editme a,
#summary_alias_container .editme {
    font-size: 12px;
    color: #666666;
    letter-spacing: normal;
}

/* color fields if bug is security sensitive.
	horrible, horrible hack because no fields are labeled
	this works up to 5 groups */
#bz_restrict_group_visibility_help + input + input[checked="checked"] + label,
#bz_restrict_group_visibility_help + input + input + label + br + input + input[checked="checked"] + label,
#bz_restrict_group_visibility_help + input + input + label + br + input + input + label + br + input + input[checked="checked"] + label,
#bz_restrict_group_visibility_help + input + input + label + br + input + input + label + br + input + input + label + br + input + input[checked="checked"] + label,
#bz_restrict_group_visibility_help + input + input + label + br + input + input + label + br + input + input + label + br + input + input + label + br + input + input[checked="checked"] + label {
    background-color: #ED9090;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    padding: 0 5px;
}

/* attachment table */
#attachment_table .bz_patch td:last-child,
#attachment_table .bz_attach_footer {
    text-transform: lowercase;
}

#attachment_table .bz_patch {
    background: transparent;
}

.edit_form .field_label,
.edit_form .bz_show_bug_column_table label,
#summary label,
label[for="comment"] b,
#bz_restrict_group_visibility_label b,
#attachment_table #a0,
.status .field_label,
#bz_enable_role_visibility_label {
    font-family: Georgia,Times,serif !important;
    text-transform: lowercase;
}

.edit_form .field_label a,
.status .field_label a {
    color: #000000;
    text-decoration: none;
    border-bottom: 1px dashed #CCCCCC;
}
.edit_form .field_label a:hover,
.status .field_label a:hover {
    border-color: #000000;
}

#bz_show_bug_column_2 a[href^="show_activity"] {
    text-transform: lowercase;
}

.edit_form {
    float: left;
    width: 30% !important;
    margin-right: 10px;
}

/* summary bar */
.bz_alias_short_desc_container {
    background-color: transparent;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    float: none;
    width: 100% !important;
    margin: 0;
}

.edit_form > tbody > tr > td {
    display: none;
}
.edit_form > tbody > tr {
    display: block;
}
.edit_form .bz_show_bug_column {
    display: block;
}

.edit_form .knob-buttons {
    bottom: 10px;
    left: 5px;
    position: fixed;
    opacity: 0.3;
}
.edit_form .knob-buttons:hover {
    opacity: 1;
}

#bz_restrict_group_visibility_help b,
#bz_enable_role_visibility_help b {
    font-weight: normal;
}

/* Comments */
#comments > a[href="#"] {
    text-transform: lowercase;
}

.bz_comment {
    border-left: 5px solid #E0E0E0;
    border-top: 5px solid #E0E0E0;
    -moz-border-radius-topleft: 10px;
    -webkit-border-top-left-radius: 10px;
    margin-bottom: 1em !important;
}

.bz_comment_head,
.bz_first_comment_head {
    background-color: transparent !important;
    text-align: left;
    display: block;
    border-bottom: 1px dashed #E0E0E0;
}
.bz_first_comment_head {
    padding-bottom: 2px;
}

.comment_rule {
    display: none;
}

.bz_comment > i {
    text-transform: lowercase;
    float: right;
	opacity: 0.2;
}
.bz_comment > i:hover {
	opacity: 1;
}
.bz_comment .bz_first_comment_head i,
.bz_comment .bz_comment_head i {
    text-transform: lowercase;
    float: left;
}
.bz_first_comment_head i a[name="c0"] {
    text-transform: lowercase;
    margin-left: 15px;
}
.bz_comment i a {
    text-transform: none;
}

.bz_comment_text {
    margin: 0;
    padding: 10px;
}

/* bug links in comments and edit form */
.bz_comment_text a[href^="show_bug"],
.bz_show_bug_column_table a[href^="show_bug"] {
    text-transform: lowercase;
    font-family: Georgia,Times,serif;
    color: #000000;
    text-decoration: none;
    letter-spacing: 0.3px;
    font-weight: bold;
}

/* Resolution box */
#dup_id_discoverable a {
    color: #000000;
    text-transform: lowercase;
    font-family: Georgia,Times,serif;
    text-decoration: none;
    border-bottom: 1px dashed #CCCCCC;
}

.status {
    margin: 5px;
}       

#status {
    margin-left: 5px;
}

#knob-buttons .knob-buttons {
    margin: 5px;
}

/* bottom of show_bug */
#bugzilla-body > hr {
    clear: both;
}

/* email notification box, which is not labeled as such IN ANY WAY! */
#bugzilla-body > dl {
    padding: 10px;
    border: 1px solid #E0E0E0;
}
#bugzilla-body > dl dt {
    color: #333333;
}
#bugzilla-body > dl dt a {
    font-family: Georgia,Times,serif;
    color: #000000;
    text-transform: lowercase;
    letter-spacing: 0.3px;
    text-decoration: none;
}
#bugzilla-body > dl dd dl dt {
    font-weight: normal;
}

.bz_query_head {
    display: none;
}
hr {
    display: none;
}

/* header */
.bz_buglist_header th {
    font-family: Georgia,Times,serif;
    text-transform: lowercase;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border: 1px solid #FBFAF4;
    padding: 3px 7px;
}

.bz_buglist_header th a {
    color: #404D6C;
}

th.sorted_0 a,
th.sorted_1 a,
th.sorted_2 a,
th.sorted_3 a,
th.sorted_4 a{
    color: #FFFFFF;
}
th.sorted_0 {
    background-color: #6A7692;
}
th.sorted_1 {
    background-color: #7C8AAC;
}
th.sorted_2 {
    background-color: #8E9EC6;
}
th.sorted_3 {
    background-color: #A0B2D6;
}
th.sorted_4 {
    background-color: #B2C6E6;
}

.bz_result_count {
    display: block;
    padding-bottom: 10px;
}

/* bug numbers */
.bz_bugitem .first-child a {
    font-family: Georgia,Times,serif;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px dashed #CCCCCC;
    letter-spacing: 2px;
    color: #000000;
    padding: 0 4px 2px 4px;
    -moz-border-radius: 6px;
    border: 1px solid transparent;
}
.bz_bugitem:hover .first-child a {
    border: 1px dotted #000000;
}

.bz_bugitem .first-child a:hover,
.bz_bugitem .first-child a:visited {
    color: #999999;
}

.bz_bugitem.bz_RESOLVED .first-child a,
.bz_bugitem.bz_VERIFIED .first-child a {
    background-color: #C2D7C4;
}
.bz_blocker,
.bz_critical {
    color: #BF4B4B !important;
    font-weight: normal !important;
}

.bz_row_even {
    background-color: transparent;
}
.bz_row_even td {
    padding-bottom: 1em;
    border-bottom: 1px dashed #CCCCCC;
}
.bz_row_even.bz_secure td.first-child {
    background-position: 0 .5em;
}
.bz_row_odd {
    background-color: transparent;
}
.bz_row_odd td {
    padding-top: 1em;
}
.bz_row_odd.bz_secure td.first-child  {
    background-position: 0 1em;
}

.bz_query_links,
.bz_query_edit,
.bz_query_forget {
    font-family: Georgia,Times,serif;
    text-transform: lowercase;
}

.bz_query_buttons form {
    display: inline;
}

.attachment_entry th {
    font-family: Georgia,Times,serif;
    text-transform: lowercase;
}